﻿using System.ComponentModel.DataAnnotations;

namespace Manage.Traceability.Api.DTO
{
    public class SourceDTO
    {
        /// <summary>
        /// 溯源主键
        /// </summary>
        public int      SourceId        { get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int      ShopId          { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string   ShopName        { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string   ShopBatch       { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int      ShopBestDate    { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string   Shoppermit      { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string   ShopFirm        { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public string   ShopPletene     { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string ShopImg { get; set; }
    }
}
